<%=  
  form_tag params_for(:action => :update),
       :id => element_form_id(:action => :update),
       :title => active_scaffold_config.update.label,
       :multipart => active_scaffold_config.update.multipart?,
       :class => 'panel update',
       :method => :put
%>
  <%= link_to "确定", {}, :class => "button blueButton", :type => "submit" %> 

  <%= render :partial => 'form_messages' %>
 
  <%= render :partial => 'form', :locals => { :columns => active_scaffold_config.update.columns } %>

  <%= link_to "删除", {:action => :delete, :id => @record.id}, :class => "grayButton" %> 
</form>


